package com.antonytrupe.fatcontroller;

import com.antonytrupe.fatcontroller.ui.EngineView;

public class Controller {

 	private EngineView engineView;

 
 
	public void displayEngine(Engine engine) {
		this.engineView.display();
	}

	public void engineControlled(Engine engine) {
		engine.control();
		this.displayEngine(engine);
	}

 
 
	public void setEngineView(EngineView engineView) {
		this.engineView = engineView;
	}

}
